<template>
	<div>
		<h2>函数组件 js</h2>
		<SFCJS name="deng" :age="20">slot</SFCJS>
		<hr />
		<h2>SFC 单文件</h2>
		<test name="deng" :age="20" />
	</div>
</template>

<script setup lang="ts">
import { defineAsyncComponent } from 'vue'
const Test = defineAsyncComponent(() => import('./test.vue'))
const SFCJS = defineAsyncComponent(() => import('./函数组件'))
</script>

<style scoped></style>
